package cn.tedu.management.portal.mapper;

import cn.tedu.management.portal.dto.SalaryDTO;
import cn.tedu.management.portal.model.Salary;
import cn.tedu.management.portal.vo.SalaryVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tedu.cn
 * @since 2020-12-08
 */
@Repository
public interface SalaryMapper extends BaseMapper<Salary> {
    public Integer selectIdByStaffId(Integer staffId);

    public SalaryVO selectBySalaryId(Integer id);
    public void updateSalary(SalaryVO salaryVO);

    public List<Salary> findAllSalary();

}
